﻿<%@ Page Title="Quản lý nhân sự" Language="C#" MasterPageFile="~/Page/MainSystem.Master" AutoEventWireup="true" CodeBehind="Employee.aspx.cs" Inherits="ERP.Page.Employee" %>
<asp:Content ID="Chead" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="CphMainLeft" ContentPlaceHolderID="CphMainLeft" runat="server">
<ext:Panel ID="PanelTuyenDung" runat="server" Title="Tuyển dụng" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="linkTuyenDung" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Lý do tuyển dụng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabTuyenDung});#{TabPanel1}.setActiveTab(#{TabTuyenDung});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkPlan" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Kế hoạch tuyển dụng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabKeHoachTuyenDung});#{TabPanel1}.setActiveTab(#{TabKeHoachTuyenDung});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkInfoApplicants" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Thông tin ứng viên" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabApplicants});#{TabPanel1}.setActiveTab(#{TabApplicants});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkInterview" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phỏng vấn ứng viên" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabInterview});#{TabPanel1}.setActiveTab(#{TabInterview});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
<ext:Panel ID="PanelNhanVien" runat="server" Title="Nhân viên" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="linkNhanVien" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Nhân viên" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabNhanVien});#{TabPanel1}.setActiveTab(#{TabNhanVien});" />
            </Listeners>
        </ext:LinkButton>
        <ext:MenuSeparator runat="server" />
        <ext:LinkButton ID="linkTypeContract" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Loại hợp đồng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabTypeContract});#{TabPanel1}.setActiveTab(#{TabTypeContract});" />
            </Listeners>
        </ext:LinkButton>
        <ext:MenuSeparator runat="server" />
        <ext:LinkButton ID="linkContract" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Hợp đồng lao động" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabContract});#{TabPanel1}.setActiveTab(#{TabContract});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
</asp:Content>
<asp:Content ID="CphMainCenter" ContentPlaceHolderID="CphMainCenter" runat="server">
<ext:TabPanel ID="TabPanel1" runat="server" AutoFocus="true">
    <Bin>
        <ext:Panel ID="TabTuyenDung" Title="Lý do tuyển dung" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderRecruitmentPlan" runat="server" Path="../Modules/RecruitmentPlan.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNhanVien" Title="Nhân viên" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderNhanVien" runat="server" Path="../Modules/Employee.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKeHoachTuyenDung" Title="Kế hoạch tuyển dụng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderPlan" runat="server" Path="../Modules/RecruitmentPlanMain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabApplicants" Title="Thông tin ứng viên" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderInfoApplicants" runat="server" Path="../Modules/Applicants.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabInterview" Title="Phỏng vấn ứng viên" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader runat="server" Path="../Modules/Interview.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTypeContract" Title="Loại hợp đồng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader runat="server" Path="../Modules/TypeContract.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabContract" Title="Hợp đồng lao động" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader runat="server" Path="../Modules/Contract.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--Từ điển kho--%>
    <Bin>
        <ext:Panel ID="TabChiNhanh" Title="Chi nhánh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader1" runat="server" Path="../Modules/Branch.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhongChua" Title="Phòng chứa" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader2" runat="server" Path="../Modules/Room.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKho" Title="Kho" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader3" runat="server" Path="../Modules/Warehouse.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVTManufacturer" Title="Hãng sản xuất" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderManufacturer" runat="server" Path="../Modules/Manufacturer.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVT" Title="Đơn vị tính" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="../Modules/Unit.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNhomVatTu" Title="Nhóm vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader5" runat="server" Path="../Modules/Materials_Type.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabVatTu" Title="Vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader6" runat="server" Path="../Modules/Materials.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabBarCode" Title="Quản lý mã vạch" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderBarCode" runat="server" Path="../Modules/Barcode.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>

    <%--Danh mục chung--%>
    <Bin>
        <ext:Panel ID="TabLoaiDoanhNghiep" Title="Loại doanh nghiệp" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader7" runat="server" Path="../Modules/Enterprise.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNganHang" Title="Ngân hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader8" runat="server" Path="../Modules/Bank.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDanToc" Title="Dân tộc" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader9" runat="server" Path="../Modules/Ethnic.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTienTe" Title="Tiền tệ" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader10" runat="server" Path="../Modules/Currency.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuocGia" Title="Quốc gia" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader11" runat="server" Path="../Modules/National.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMien" Title="Miền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader12" runat="server" Path="../Modules/Domain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTinh" Title="Tỉnh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader13" runat="server" Path="../Modules/Province.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuanHuyen" Title="Quận huyện" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader14" runat="server" Path="../Modules/Districts.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>
    <Plugins>
        <ext:BoxReorderer runat="server" />
    </Plugins>
    <BottomBar>
        <ext:Toolbar runat="server" Height="30px">
            <Items>
                <ext:Label Cls="lablecontrol" Text="Tên đăng nhập :" runat="server"></ext:Label>
                <ext:Label ID="lbServerNameTitile" Cls="labletitile" Text="IMS" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Tên máy :" runat="server"></ext:Label>
                <ext:Label ID="lbMachineName" Cls="labletitile" Text="TenMay" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="IP :" runat="server"></ext:Label>
                <ext:Label ID="lbIdAdress" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Session :" runat="server"></ext:Label>
                <ext:Label ID="lbSessionStatus" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
            </Items>
        </ext:Toolbar>
    </BottomBar>
</ext:TabPanel>
</asp:Content>